<!DOCTYPE html>
<html>
<head>
  <title>Myblog</title>
  <link rel="stylesheet" href="http://netdna.bootstrapcdn.com//bootstrap/3.1.1/css/bootstrap.min.css">
  <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
  <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
  <%= csrf_meta_tags %>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
   <div class="container">
      <ul class="nav navbar-nav">
         <li><a href="#">Blogs</a></li>
         <li><a href="#">Photos</a></li>
         <li class="active"><a href="#">Myblog</a></li>
         <li><a href="#">About me</a></li>
      </ul>
   </div>
</nav>
<div class="container page-header text-center">
  <h1>Welcome to my Blog  <small>Happy everyday</small></h1>
</div>
<div class="container"><%= yield %></div>
<footer>
  <p class="text-center">
    Copyright © 2014 - Xi Dian
  </p>
</footer>

</body>
</html>
